package rd.hardcore.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Fazermokeur
	 */
	public class SoundModifierEvent extends Event 
	{
		public static const CHANGE_SPEED 	: String = "change_speed";
		public static const NO_AUTO_RESSET	: String = "no_auto_resset";
		public static const AUTO_RESSET 	: String = "auto_resset";
		
		public var newValue:Number;
		public function SoundModifierEvent(type:String, value:Number = 0, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			newValue = value;
		} 
		
		public override function clone():Event 
		{ 
			return new SoundModifierEvent(type, newValue, bubbles, cancelable);
		} 
		
		public override function toString():String 
		{ 
			return formatToString("SoundModifierEvent", "type", "newValue", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}